<!--查看佣金详情-->
<style>
    .p-category {
        border-left: 2px solid #ff7713;
        padding-left: 5px;
        font-size: 15px;
        font-weight: normal;
    }
</style>
<div i="content" class="ui-dialog-content">
    <div style="width:820px;height:500px;position: relative;overflow: auto;">
        <table width="100%" class="f12" style="margin-bottom: 20px;">
            <tbody>
            <tr>
                <td colspan="3" class="f12 c1" style="font-weight: bold;"><p class="p-category">客户信息</p></td>
            </tr>
            <tr>
                <td width="100" height="30">姓名：<span class="c-black f13">{{data.cst_name}}</span></td>
                <td width="250">性别：<span class="c-black f13">{{data.genderText}}</span></td>
                <td height="30">手机：<span class="c-black f13">{{data.mobile_tel}}</span></td>
            </tr>
            <tr style="border-bottom: 1px dashed #d9d9d9;">
                <td colspan="3"></td>
            </tr>
            <tr>
                <td colspan="3" class="f12 c1 pt16" style="font-weight: bold;"><p class="p-category">经纪人信息</p></td>
            </tr>
            <tr>
                <td width="100" height="30">姓名：<span class="c-black f13">{{data.broker_name}}</span></td>
                <td width="250">性别：<span class="c-black f13">{{data.broGenderText}}</span></td>
                <td height="30">手机：<span class="c-black f13">{{data.broker_tel}}</span></td>
            </tr>
            <tr>
                <td colspan="3" height="30">身份证号码：<span class="c-black f13">{{data.cre_no}}</span></td>
            </tr>
            <tr>
                <td>
                    <img ng-src="{{data.card_img_a||'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/idcard1_blank.png'}}" show-preview
                         class="border-line fl"
                         style="width: 155px;height: 90px; margin-bottom: 10px;"/><span
                        style=" display: inline-block;  margin: 74px 0 0 5px;">正面</span>
                </td>
                <td>
                    <img ng-src="{{data.card_img_b||'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/idcard2_blank.png'}}" show-preview
                         class="border-line fl"
                         style="width: 155px;height: 90px; margin-bottom: 10px;"/><span
                        style=" display: inline-block;  margin: 74px 0 0 5px;">反面</span>
                </td>
            </tr>
            <tr>
                <td height="30">银行卡号：<span class="c-black f13">  {{data.bank_account}}</span></td>
                <td height="30">开户银行：<span class="c-black f13">  {{data.bank_name}}</span></td>
                <td>支行名称：<span class="c-black f13">  {{data.bank_sub_branch}}</span></td>
            </tr>

            <tr style=" height: 100px;">
                <td colspan="3">
                    <img ng-src="{{data.bank_card_img||'http://img-dev.myscrmimg.cn/projects/qmyx/public/images/pic/bankcard_blank.png'}}" show-preview
                         class="border-line fl"
                         style="width: 155px;height: 90px; margin-bottom: 10px;"/><span
                        style=" display: inline-block;  margin: 74px 0 0 5px;">正面</span>
                </td>
            </tr>
            <tr style="border-bottom: 1px dashed #d9d9d9;">
                <td colspan="3"></td>
            </tr>
            <tr>
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16"><p class="p-category">身份信息</p></td>
            </tr>
            <tr ng-show ='baseData.isAgency != 1'>
                <td width="250" height="30">身份说明：<span
                        class="c-black f13">{{data.Text}}</span>
                </td>
                <td colspan="2">城市：<span class="c-black f13">{{data.city_name}}</span></td>
            </tr>

            <tr ng-show ='baseData.isAgency == 1'>
                <td width="250" height="30">身份说明：<span
                        class="c-black f13">{{data.BelongsCompanyText}}</span>
                </td>
                <td>所属公司：<span class="c-black f13">{{data.BelongsCompanyText}}</span></td>
                <td>城市：<span class="c-black f13">{{data.city_name}}</span></td>
            </tr>
            <tr ng-show ='baseData.isAgency == 1'>
                <td colspan="3" height="30">门店名称：<span
                        class="c-black f13">{{data.BelongsCompanyText}}</span><span style="color:gray;">{{data.store_code?('(邀请码：'+data.store_code+')'):''}}</span>
                </td>
            </tr>

            <tr style="border-bottom: 1px dashed #d9d9d9;">
                <td colspan="3"></td>
            </tr>
            <tr>
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16"><p class="p-category">成交房间信息</p></td>
            </tr>
            <tr>
                <td width="250" height="30">成交产品类型：<span
                        class="c-black f13">{{data.product_type}}</span></td>
                <td>房间号：<span class="c-black f13">{{data.room}}</span></td>
                <td>付清房款首期：<span class="c-black f13">{{data.ispay_sq}}</span></td>
            </tr>
            <tr>
                <td width="250" height="30" colspan="3">已付房款比例：<span
                        class="c-black f13">{{data.cj_percent}}</span></td>
            </tr>
            <tr style="border-bottom: 1px dashed #d9d9d9;">
                <td colspan="3"></td>
            </tr>
            <tr>
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16"><p class="p-category">成交佣金信息</p></td>
            </tr>
            <tr>
                <td width="250" height="30">成交金额：<span class="c-black f13">{{data.cj_price}}</span></td>
                <td colspan="3">成交佣金合计：<span class="c-black f13">{{data.brokerageTotalAmount | number:2}}</span></td>
            </tr>
            <tr>
                <td width="250" height="30">第1笔：<span class="c-black f13">{{data.brokerage1||0 | number:2}}</span></td>
                <td>第2笔：<span class="c-black f13">{{data.brokerage2||0 | number:2}}</span></td>
                <td height="30">第3笔：<span class="c-black f13">{{data.brokerage3||0 | number:2}}</span></td>
            </tr>
            <tr style="border-bottom: 1px dashed #d9d9d9;">
                <td colspan="3"></td>
            </tr>
            <tr ng-if="baseData.brokerageState!=1">
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16">
                    <p class="p-category">审核信息</p>
                </td>
            </tr>
            <tr ng-if="baseData.brokerageState!=1">
                <td height="30">
                    审核人:<span class="c-black f13 pl10">{{data.ApprovalBy}}</span>
                </td>
                <td colspan="2" height="30">
                    审核时间:<span class="c-black f13 pl10">{{data.ApprovalOn}}</span>
                </td>
            </tr>
            <tr ng-if="baseData.brokerageState==99">
                <td colspan="3" height="30">
                    不通过理由:<span class="c-black f13 pl10">{{data.approve_fail_reason}}</span>
                </td>
            </tr>
            <tr ng-if="baseData.brokerageState!=1" style="border-bottom: 1px dashed #d9d9d9;">
                <td colspan="3"></td>
            </tr>
            <tr ng-if="baseData.brokerageState==3">
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16">
                    <p class="p-category">发放信息</p>
                </td>
            </tr>
            <tr ng-if="baseData.brokerageState==3">
                <td height="30">
                    发放人:<span class="c-black f13 pl10">{{data.offerName}}</span>
                </td>
                <td colspan="2" height="30">
                    发放时间:<span class="c-black f13 pl10">{{data.OfferOn}}</span>
                </td>
            </tr>
            <tr ng-if="baseData.brokerageState==3" style="border-bottom: 1px dashed #d9d9d9;">
                <td colspan="3"></td>
            </tr>
            <tr>
                <td colspan="3" style="font-weight: bold;" class="f12 c1 pt16">
                    <p class="p-category">其它信息</p>
                </td>
            </tr>
            <tr>
                <td colspan="3" width="250" height="30">
                    申请结佣时间:<span class="c-black f13 pl10">{{data.check_date}}</span>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <div class="btn-group" style="text-align: center;">
        <div style="display: inline-block;margin: 0 auto;">
        <span>
<!--        <a href="javascript: void(0)" class="btn permission p-50030605-01-inline-block"
           ng-if="baseData.brokerageState==1" ng-click="detailOperation(data,1)">审定</a>
        &lt;!&ndash;<a href="javascript: void(0)" class="btn" ng-if="baseData.brokerageState==1" ng-click="detailOperation(data,2)">审核不通过</a>&ndash;&gt;
        <a href="javascript: void(0)" class="btn permission p-50030605-11-inline-block"
           ng-if="baseData.brokerageState==2" ng-click="detailOperation(data,3)">取消审定</a>
        <a href="javascript: void(0)" class="btn permission p-50030605-02-inline-block"
           ng-if="baseData.brokerageState==2&&!baseData.allowBrokeragePayment" ng-click="detailOperation(data,4)">发放</a>-->
<!--        <a href="javascript: void(0)" class="btn permission p-50030605-02-inline-block"
           ng-if="baseData.brokerageState==2"
           ui-dialog-data = "data"
           ui-dialog="佣金委托发放"
           ui-dialog-url="dialog/deal-offer.html"
           ng-click="detailOperation(data,5)">委托发放</a>-->
        <a href="javascript: void(0)" class="btn" ng-click="closeDialog()">关闭</a>
        </span>
        </div>
    </div>
</div>